partial differential equations by eliminating arbitrary function